package sistema;

import java.net.InetAddress;
import java.util.List;

import remoto.ContratoTO;

public class Main {
	
	public static void main(String[] args) {
		BD bd = new BD();
		
		try {
			bd.LookupService(InetAddress.getLocalHost().getHostAddress());
			String result = bd.getConvenioMayorMonto();
			
			System.out.println("result: " + result);
			
			List<ContratoTO> resol = bd.getContratosDeCoordinadoras();
			System.out.println("lista: " + resol );
		} catch (Exception e) {
			e.printStackTrace();
		}
	} 
}
